#ifndef SP_INTERRUPT_IRQ_H
#define SP_INTERRUPT_IRQ_H

#include <system/regs.h>

#define IRQ_TIMER		0
#define IRQ_KEYBOARD	1
#define IRQ_COM24		3
#define IRQ_COM13		4
#define IRQ_FLOPPY		6
#define IRQ_RTC			8
#define IRQ_MOUSE		12

void irq_install_handler(int, void (*)(regs_t *r));
void irq_uninstall_handler(int);
void irq_remap(void);
void irq_install();
void irq_handler(regs_t *);

#endif
